<div id="header">
  <div class="box-m">
    <div class="logo">
      <h2 id="title"><a href="/index">{{base.setting.webtitle|uw}}</a></h2>
    </div>
    <a id="menu_toggle" href="/index"><i id="menu" class="iconfont menu"></i></a>
    <div id="navigation">
      <ul id="nav">
        {{- base.webmenu|uw|safe -}}
        <li><a href="/post">发布</a></li>
        {% if base.login%}
        <li><a href="/class">分类</a></li>
        <li><a href="/reply">评论</a></li>
        <li><a href="/setting">设置</a></li>
        <li><a href="/widget">边栏</a></li>
        <li><a href="/logout">退出</a></li>
        {%endif%}
      </ul>
    </div>
  </div>
  <div class="other box-m">
    <div class="desc">{{base.setting.webdesc|uw}}</div>
    <form method="get" class="search-form" action="/search">
      <input class="search-text" value="{{base.kw|uw}}" name="kw" autocomplete="off" placeholder="输入关键词搜索..."
        required="required" type="text">
      <button class=" search-submit" alt="搜索" type="submit">搜索</button>
    </form>
  </div>
</div>
